package com.lc.common.annotation;

import com.lc.common.config.ExceptionDecoder;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 统一 FeignClient 错误处理
 * @author LingChou
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(ExceptionDecoder.class)
public @interface EnableFeignErrorDecoder {
}
